/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-07-17     Administrator       the first version
 */
#ifndef SRC_APP_WEATHER_H_
#define SRC_APP_WEATHER_H_

#include <stdint.h>

typedef struct
{
    int flag;
    int temp_l;
    int temp_h;
    int temp;
    int humi;
    char weather[10];
    char weather_curr[10];
} s_WeatherInfoType;

extern void Weather_GetLatest(void);
extern s_WeatherInfoType Weather_GetWeatherInfo(void);
extern void Weather_SetCityCode(const char *code);

#endif /* SRC_APP_WEATHER_H_ */
